<?php
/* $Id: session.php,v 1.00 2005/03/23  JOP $ */

ini_set('session.gc_maxlifetime',800000);
ini_set('session.cache_expire',10000);
session_cache_expire(220);
	
  session_name("VISEO");
  session_start();
	
  if (isset($_SESSION['errors']) && !is_array($_SESSION['errors'])) {
    $_SESSION['errors'] = array();
  }

  if (isset($_SESSION['infos']) && !is_array($_SESSION['infos'])) {
    $_SESSION['infos'] = array();
  }

  if (!empty($_POST['client'])) $_SESSION['client'] = $_POST['client'];